var log = console.log;
var user = {username:"zhangsan",age:20,sex:"male"};

log("username:%s",user.username);
log("age:%d", user.age);
log("user:%j",user);

log(`${user.username}`);